<template>
	<el-button type="primary" size="default" @click="showD = true">
		点击弹窗
	</el-button>
	<q-dialog v-model="showD" title="编辑">
		<div>111</div>
		<template #footer>
			<el-button type="primary" size="default" @click="showD = false">
				新增
			</el-button>
		</template>
	</q-dialog>
</template>
<script setup lang="ts">
	import { ref } from 'vue';
	const showD = ref(false);
</script>
